#!/bin/sh

cd build

cmake ../ -DCMAKE_TOOLCHAIN_FILE=../toolchain.cmake \
	-DOPENSSL_LIB_PATH=/home/release/soc/mtk781/release-imm/sdk/openwrt-largehub/build_dir/target-aarch64_cortex-a53_musl/openssl-1.1.1w/ipkg-install/usr/lib \
	-DOPENSSL_INCLUDE_DIR=/home/release/soc/mtk781/release-imm/sdk/openwrt-largehub/build_dir/target-aarch64_cortex-a53_musl/openssl-1.1.1w/ipkg-install/usr/include \
	-DLIBWEBSOCKETS_LIBRARIES="/home/release/soc/mtk781/release-imm/sdk/openwrt-largehub/build_dir/target-aarch64_cortex-a53_musl/libwebsockets-openssl/libwebsockets-4.3.2/ipkg-install/usr/lib/" \
	-DLIBWEBSOCKETS_INCLUDE_DIRS="/home/release/soc/mtk781/release-imm/sdk/openwrt-largehub/build_dir/target-aarch64_cortex-a53_musl/libwebsockets-openssl/libwebsockets-4.3.2/ipkg-install/usr/include;/home/release/soc/mtk781/release-imm/sdk/openwrt-largehub/build_dir/target-aarch64_cortex-a53_musl/libcap-2.43/ipkg-install/usr/include" \
	-DLIBCAP_LIB_PATH=/home/release/soc/mtk781/release-imm/sdk/openwrt-largehub/build_dir/target-aarch64_cortex-a53_musl/libcap-2.43/ipkg-install/lib \
	-DLIBCAP_INCLUDE_DIR=/home/release/soc/mtk781/release-imm/sdk/openwrt-largehub/build_dir/target-aarch64_cortex-a53_musl/libcap-2.43/ipkg-install/usr/include \
	-DCMAKE_VERBOSE_MAKEFILE=ON
